<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Luck Test</title>
	<script src="jquery-1.9.1.min.js"></script>
	<script src="jquery.lucky.js"></script>
	<script>
		var luckyCtrl;
		$(function(){
			luckyCtrl = $('#lucky').lucky({
				Arr:['张山','李四','王二','麻子','张山','李四'],
				FontColor:'#fff',
				FontShadow:{
					color:'#a00',
					opacity:'10px'
				}
			});
			$('#pause').click(luckyCtrl.pause);
			$('#start').click(luckyCtrl.start);
		});
	</script>
</head>
<body>
	<div id="lucky" style="height:400px;"></div>
	<p><button id="pause" >暂停</button><button id="start">开始</button></p>
	<p id="list"></p>
</body>
</html>